Skip to content

restore clipboard setup? #29695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

TomAugspurger
Copy link
Contributor

@TomAugspurger TomAugspurger added the CI Continuous Integration label Nov 18, 2019
@datapythonista
Copy link
Member

We call xvfb with the command directly in https://github.com/pandas-dev/pandas/blob/master/ci/run_tests.sh#L33, we shouldn't need that. Is that causing any trouble?

@TomAugspurger TomAugspurger added the Unreliable Test Unit tests that occasionally fail label Nov 18, 2019
@TomAugspurger
Copy link
Contributor Author

OK, thanks. No idea if it's causing issues. I'll rerun the travis job that has been failing a few times to see if it's present on this branch.

@TomAugspurger
Copy link
Contributor Author

Dunno if this is related, but I do see

QXcbClipboard::setMimeData: Cannot set X11 selection owner

In the output log. I assume that the tests are run under the same user as everything else though, so not sure what that actually means.

@TomAugspurger
Copy link
Contributor Author

TomAugspurger commented Nov 18, 2019

Things passed with a93b9d8. Going to restart the problematic job a few times.

1 / 1

@TomAugspurger
Copy link
Contributor Author

I've been going through logs. The "Cannot set X11 selection owner" warning seems relevant. It's been present in all the failed builds, and absent in all the successful ones.

@datapythonista
Copy link
Member

I found this post very useful when dealing with clipboard test errors in the past, and trying to understand how things work: https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html

Still very confused, and I don't know how to fix that error yet, but I think the article is worth reading.

@datapythonista
Copy link
Member

I'm wondering if we're copying and pasting too fast, and if a short sleep in between would get rid of the error...

@TomAugspurger
Copy link
Contributor Author

I have one theory to try out before then. I'm worried about the module-level to_clipboard we attempt. That would be executed on import. Putting that behind a fixture.

@datapythonista
Copy link
Member

With some luck #29712 may fix the problem. Some info here: http://elementalselenium.com/tips/38-headless

If that doesn't work, I'll probably focus on moving the db builds to GitHub actions, where I guess the X server is provided, we don't need xvfb-run, and I think the test won't fail.

@TomAugspurger
Copy link
Contributor Author

Thanks. Hopefully #29712 fixes it.

@TomAugspurger TomAugspurger deleted the clipboard-fixup branch November 19, 2019 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Unreliable Test Unit tests that occasionally fail
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants